/* Include these
   #include <pthread.h>
   #include <stdint.h>
   #include <sys/select.h>
   #include <sys/socket.h>
   #include <sys/un.h>
   #include <nit/socket.h>
 */

/* terminal receive additional data */

typedef struct {
	char *buf;
	int32_t msg;
        int32_t max;
} Blu_trad;

int
blu_trad_init(Blu_trad *tr, int32_t max);

int
blu_trad_release(Blu_trad *tr);

enum nit_join_status
blu_tr(Nit_joint *in, Blu_trad *tr);

int
blu_tr_rate_change(Nit_joint *in, double sps);
